@extends('layouts.main')

@section('title', '显示销售订单类型')

@section('content')
<h3>@yield('title')</h3>
<div class="btn-group" role="group">
  	<a href="{{ action('BaseData\SalesOrderTypeController@index') }}" class="btn btn-primary">返回列表</a>
</div>

<form class="form-horizontal">
    <div class="form-group">
		<label for="type" class="col-sm-2 control-label">销售订单类型代码</label>
		<div class="col-sm-3">
			<input class="form-control" id="type" name="type" value="{{ $model->type }}" disabled>
		</div>
    </div>

    <div class="form-group">
		<label for="type_desc" class="col-sm-2 control-label">销售订单类型描述</label>
		<div class="col-sm-3">
			<input class="form-control" id="type_desc" name="type_desc" value="{{ $model->type_desc }}" disabled>
		</div>
    </div>

    <div class="form-group">
		<div class="col-sm-offset-2 col-sm-10">
			<a href="{{ action('BaseData\SalesOrderTypeController@edit', $model) }}" class="btn btn-primary">编辑</a>
			<a href="{{ action('BaseData\SalesOrderTypeController@create') }}" class="btn btn-primary">添加</a>
		</div>
	</div>
</form>

@endsection